<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <link rel="stylesheet" href="css/index.css" />
  </head>

  <body>
    <header>
      <!-- 头部显示以及里面的大标题 -->
      <h1>船舶动力故障诊断系统</h1>
      <div class="showTime">当前时间：2020年3月17日-0时54分14秒</div>
      <script>
        var t = null;
        t = setTimeout(time, 1000); //開始运行
        function time() {
          clearTimeout(t); //清除定时器
          dt = new Date();
          var y = dt.getFullYear();
          var mt = dt.getMonth() + 1;
          var day = dt.getDate();
          var h = dt.getHours(); //获取时
          var m = dt.getMinutes(); //获取分
          var s = dt.getSeconds(); //获取秒
          document.querySelector(".showTime").innerHTML =
            "当前时间：" +
            y +
            "年" +
            mt +
            "月" +
            day +
            "-" +
            h +
            "时" +
            m +
            "分" +
            s +
            "秒";
          t = setTimeout(time, 1000); //设定定时器，循环运行
        }
      </script>
    </header>
    <section class="mainbox"><!-- 页面主体盒子 -->
    <!-- 底下分为左中右三个盒子，对应三个column -->
      <div class="column">
        <!-- 每个column中又有三个 -->
        <div class="panel bar">
          <h2 id="yearId">
            诊断故障船型
            <!--<a href="javascript:;"> 2017年</a>-->
            <!--<a href="javascript:;">2018年</a>-->
            <!--<a href="javascript:;"> 2019年</a>-->
          </h2>
          <div class="chart"></div>
          <div class="panel-footer"></div>
        </div>
        <div class="panel stackedbar">
          <h2>诊断出行率</h2>
          <div class="chart"></div>
          <div class="panel-footer"></div>
        </div>
        <div class="panel pie">
          <h2>诊断船龄</h2>
          <div class="chart"></div>
          <div class="panel-footer"></div>
        </div>
      </div>
      <div class="column">
        <!-- no模块制作 -->
        <div class="no">
          <!-- 中列no模块分为上下两个模块 -->
          <div class="no-hd">
            <ul id="num01Id">
              <!--<li>125811</li>-->
              <!--<li>104563</li>-->
            </ul>
          </div>
          <div class="no-bd">
            <ul id="name01Id">
              <!--<li>柴油机故障艘次</li>-->
              <!--<li>船舶数据总条数</li>-->
            </ul>
          </div>
        </div>
        <div class="map">
         <div class="chart"></div><!-- 放echarts展示图 -->
          <div class="map1"></div><!-- map1图层默认压住map2 -->
          <div class="map2"></div><!-- map2图层默认压住map3 -->
          <div class="map3"></div> 
        </div>
      </div>
      <div class="column">
        <div class="panel bar1">
          <h2>诊断故障原因</h2>
          <div class="chart"></div>
          <div class="panel-footer"></div>
        </div>
        <div class="panel stackedbar1">
          <h2>诊断故障原因下的不同船型</h2>
          <div class="chart"></div>
          <div class="panel-footer"></div>
        </div>
        <div class="panel pie1">
          <h2>诊断故障与状态</h2>
          <div class="chart"></div>
          <div class="panel-footer"></div>
        </div>
      </div>
    </section>
    
    <script src="js/flexible.js"></script><!-- 展示界面适配屏幕用到的技术 -->
    <script src="js/jquery.js"></script>
    <script src="js/echarts.min.js"></script>
    <script src="js/index.js"></script>
    <script src="js/china.js"></script>
    <!-- <script src="js/myMap.js"></script> -->
    <script src="js/beautiful.js"></script>
  </body>
</html>